package solucionessgh;
/**
 * @author Roderick Cusirramos Montesinos
 * @version 0.1
 */

import javax.swing.UIManager;
import solucionessgh.View.ViewStatusBar;
import solucionessgh.View.ViewFrame;
import solucionessgh.View.ViewMenu;
import solucionessgh.View.ViewToolBar;


public class Main {

    public static void main(String[] args) {
        try{
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch(Exception ex){
            System.err.println(ex.toString());
        }

        ViewFrame frame = new ViewFrame();
        frame.setExtendedState(ViewFrame.MAXIMIZED_BOTH);
        
        /*frame.setVisible(true);

        UsuariosController usuario = new UsuariosController();
        usuario.viewLogin();

        TipoCambioController tipocambio = new TipoCambioController();
        tipocambio.viewTipoCambio();*/

        ViewMenu menu = new ViewMenu(frame);
        frame.setMenu(menu);

        ViewStatusBar status = new ViewStatusBar();
        frame.setStatusbar(status);

        ViewToolBar tool = new ViewToolBar();
        frame.setToolbar(tool);

        frame.setVisible(true);

    }

}